package com.xiao.bargain.feign;

import com.xiao.group.common.Vo.OrderEntity;
import com.xiao.group.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("community-server")
@RequestMapping("community/order")
public interface OrderFeign {
    @RequestMapping("/save")
    public R save(@RequestBody OrderEntity order);
}
